/**
 * 
 */
package com.eshopper.user.service;

import java.util.List;

import com.eshopper.user.model.User;

/**
 * @author Arun Kumar, Nov 26, 2014
 *
 */
public interface UserService {
	
	public User addUser(User user);
	
	public User updateUser(User user);

	public List<User> getUsers();
	
	public int getUsersCount();

	public void deleteUser(Long userId);
	
	public User getUser(Long userId);
	
	public User login(String emailAddress, String password);

	public User findByEmailAndPassword(String emailAddress, String password);

	public User findUserByEmail(String emailAddress);
}
